package org.i1510.common.utils;

import java.io.IOException;
import java.util.Properties;

import org.junit.Test;

/**
 * Kenshinbo@163.com的属性配置
/**
 * @author Administrator
 *
 */
public class WebProperties {
	public static String CLASSPATH = "/config/common/web.properties";
	/**
	 * web标题
	 */
	public static String WEBTITLE = "";
	
	static {
		Properties properties = new Properties();
		try {
			properties.load(WebProperties.class.getResourceAsStream(CLASSPATH));
			WEBTITLE = properties.getProperty("web-title");
			
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}
	@Test
	public  void main1() {
		System.out.println("--");
		System.out.println(WebProperties.WEBTITLE);
	}
}
